package com.aspose.cells;

class zbjy extends zcj {
   zbjy(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      com.aspose.cells.b.a.b.a.ze var2 = new com.aspose.cells.b.a.b.a.ze();
      com.aspose.cells.b.a.b.zo[] var3 = new com.aspose.cells.b.a.b.zo[5];
      switch(this.e.a) {
      case 1:
      case 4:
         var3[0] = new com.aspose.cells.b.a.b.zo(var1.h() / 2.0F + this.g, this.h);
         var3[1] = new com.aspose.cells.b.a.b.zo(var1.h() + this.g, var1.i() / 2.0F - var1.i() / 2.0F * 0.24F + this.h);
         var3[2] = new com.aspose.cells.b.a.b.zo(var1.h() / 2.0F + var1.h() / 2.0F * 0.62F + this.g, var1.i() + this.h);
         var3[3] = new com.aspose.cells.b.a.b.zo(var1.h() / 2.0F - var1.h() / 2.0F * 0.62F + this.g, var1.i() + this.h);
         var3[4] = new com.aspose.cells.b.a.b.zo(this.g, var1.i() / 2.0F - var1.i() / 2.0F * 0.24F + this.h);
         break;
      case 2:
      case 3:
         var3[0] = new com.aspose.cells.b.a.b.zo(this.g + var1.h() / 2.0F * 0.38F, this.h);
         var3[1] = new com.aspose.cells.b.a.b.zo(var1.h() / 2.0F + var1.h() / 2.0F * 0.62F + this.g, this.h);
         var3[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.g, var1.i() / 2.0F + var1.i() / 2.0F * 0.24F + this.h);
         var3[3] = new com.aspose.cells.b.a.b.zo(var1.h() / 2.0F + this.g, this.h + var1.i());
         var3[4] = new com.aspose.cells.b.a.b.zo(this.g, var1.i() / 2.0F + var1.i() / 2.0F * 0.24F + this.h);
      }

      var2.a(var3[0], var3[1]);
      var2.a(var3[1], var3[2]);
      var2.a(var3[2], var3[3]);
      var2.a(var3[3], var3[4]);
      var2.a(var3[4], var3[0]);
      var2.i();
      return var2;
   }
}
